package com.cheng.io.entity;

import java.io.Serial;
import java.io.Serializable;

public class Address implements Serializable {

    @Serial
    private static final long serialVersionUID = 3904385268916705043L;
    private String addressName;
    private int area;

    public Address() {
    }

    @Override
    public String toString() {
        return "Address{" +
                "addressName='" + addressName + '\'' +
                ", area=" + area +
                '}';
    }

    public Address(String addressName, int area) {
        this.addressName = addressName;
        this.area = area;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public int getArea() {
        return area;
    }

    public void setArea(int area) {
        this.area = area;
    }
}
